package com.ims.core.enums;

/**
 * 是否默认
 * 0    不默认
 * 1    默认
 * @author IMS
 */
public enum IsDefault {
    NOT_DEFAULT(0, "不默认"),
    DEFAULT(1, "默认");

    private final int code;
    private final String name;

    IsDefault(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}